com.supermap.ar.areffect.gltfModel
Class Materials
- java.lang.Object
-
- com.supermap.ar.areffect.gltfModel.Materials
-
public class Materials extends java.lang.ObjectMaterials
-
-
Constructor Summary
Constructors Constructor and Description Materials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetAlphaMode()Gets Alpha channel informationjava.lang.Float[]getEmissiveFactor()Gets the luminous sourcejava.lang.StringgetName()Gets the namePbrMetallicRoughnessgetPbrMetallicRoughness()Gets PBR parametervoidsetAlphaMode(java.lang.String alphaMode)Sets Alpha channel informationvoidsetEmissiveFactor(java.lang.Float[] emissiveFactor)Sets the luminous sourcevoidsetName(java.lang.String name)Sets a namevoidsetPbrMetallicRoughness(PbrMetallicRoughness pbrMetallicRoughness)Sets PBR parameter
-
-
-
Method Detail
-
setPbrMetallicRoughness
public void setPbrMetallicRoughness(PbrMetallicRoughness pbrMetallicRoughness)
Sets PBR parameter- Parameters:
pbrMetallicRoughness-
-
getPbrMetallicRoughness
public PbrMetallicRoughness getPbrMetallicRoughness()
Gets PBR parameter- Returns:
-
setEmissiveFactor
public void setEmissiveFactor(java.lang.Float[] emissiveFactor)
Sets the luminous source- Parameters:
emissiveFactor-
-
getEmissiveFactor
public java.lang.Float[] getEmissiveFactor()
Gets the luminous source- Returns:
-
setAlphaMode
public void setAlphaMode(java.lang.String alphaMode)
Sets Alpha channel information- Parameters:
alphaMode-
-
getAlphaMode
public java.lang.String getAlphaMode()
Gets Alpha channel information- Returns:
-
setName
public void setName(java.lang.String name)
Sets a name- Parameters:
name-
-
getName
public java.lang.String getName()
Gets the name- Returns:
-
-